﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HammerMUD.Commands;
using HammerMUD.System;

namespace HammerMUD.Admin
{
    public class ForceSaveCommand : Command
    {
        public ForceSaveCommand()
        {
            Name = "forcesave";
            Help = "forcesave";
            SecurityLevel = SecurityLevel.Admin;
        }

        public override void Do(HammerMUD.System.User from, List<string> arguments)
        {
            from.Send("Saving...");
            HammerMUD.System.HammerMUD.Save();
        }
    }
}
